package com.qidianit.mes.pro.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.qidianit.mes.pojo.Unit;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MaterialWithUnit {


    private Long id;

    private String code;

    private String name;

    private String specification;

    private Long unitId;

    private Long categoryId;

    private Integer isHighValue;

    private Integer hasSafetyStock;

    private BigDecimal minStock;

    private BigDecimal maxStock;

    private BigDecimal safetyStock;

    private String imageUrl;

    private String description;

    private Integer status;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Integer deleteFlag;

    private Unit unit;
}